package com.yllt4cloud.common.ddbase.result;


import com.yllt4cloud.common.ddbase.domain.Clerk;
import com.yllt4cloud.common.ddbase.domain.Department;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2016/2/2.
 */
public class CachedResult {

    private DeptMapResult deptMapResult;
    private ClerkMapResult clerkMapResult;
    private DeptTreeResult deptTreeResult;

    public DeptMapResult getDeptMapResult() {
        return deptMapResult;
    }

    public void setDeptMapResult(DeptMapResult deptMapResult) {
        this.deptMapResult = deptMapResult;
    }

    public ClerkMapResult getClerkMapResult() {
        return clerkMapResult;
    }

    public void setClerkMapResult(ClerkMapResult clerkMapResult) {
        this.clerkMapResult = clerkMapResult;
    }

    public DeptTreeResult getDeptTreeResult() {
        return deptTreeResult;
    }

    public void setDeptTreeResult(DeptTreeResult deptTreeResult) {
        this.deptTreeResult = deptTreeResult;
    }

    public static class DeptTreeResult {
        private Map<String, List<DeptInfo>> result;

        public Map<String, List<DeptInfo>> getResult() {
            return result;
        }

        public void setResult(Map<String, List<DeptInfo>> result) {
            this.result = result;
        }
    }

    public static class AllDeptTreeResult {
        private List<DeptInfo> result;

        public List<DeptInfo> getResult() {
            return result;
        }

        public void setResult(List<DeptInfo> result) {
            this.result = result;
        }
    }

    public static class ClerkMapResult {
        private Map<String, Clerk> result;

        public Map<String, Clerk> getResult() {
            return result;
        }

        public void setResult(Map<String, Clerk> result) {
            this.result = result;
        }
    }

    public static class DeptMapResult {
        private Map<String, Department> result;

        public Map<String, Department> getResult() {
            return result;
        }

        public void setResult(Map<String, Department> result) {
            this.result = result;
        }
    }

}
